#include "Metgine/Graphics/Effect.hpp"

namespace Metgine
{
namespace Graphics
{

Effect::Effect(float life) :
    m_life(life)
{
}

const Vector2f& Effect::GetPosition() const
{
    return m_position;
}

void Effect::SetPosition(const Vector2f& newPosition)
{
    m_position = newPosition;
}

float Effect::GetLife() const
{

    return m_life;

}

bool Effect::IsAlive() const
{

    return (m_life > 0.0f);

}
}; // Graphics
}; // Metgine
